package numtreeset;

import java.util.*;

public class NumTreeSet {
    TreeSet<Integer> tset = new TreeSet<Integer>();

    NumTreeSet(int[] nlist) {
        for (int i = 0; i < nlist.length; i++) {
            tset.add(nlist[i]);
        }
    }

    int work() {
        return tset.size();
    }
}
